<!-- 确认订单底部支付组件 -->
<template>
  <div class="confirm-bottom">
    <div class="price">
      实付金额<span>￥{{total}}</span>
    </div>
    <div class="pay" @click="$emit('pay')">
      提交订单
    </div>
  </div>
</template>

<script>
export default {
  name:'confirmBottom',
  props:['total']
}
</script>

<style scoped lang="scss">
@import '@/styles/mixin.scss';
@import '@/styles/theme.scss';
.confirm-bottom{
  background-color: $white;
  position: fixed;
  width: 100%;
  height: 49px;
  bottom: 0;
  left: 0;
  display: flex;
  padding-left: 24px;
  align-items: center;
  justify-content: space-between;
  .price{
    color: $theme-font-color;
    font-size: 14px;
    span{
      font-size: 16px;
      font-weight: bold;
    }
  }
  .pay{
    width: 98px;
    height: 100%;
    background-color: #4FB0F9;
    font-size: 14px;
    color: $white;
    @include item-center;
  }
}
</style>
